From bf0102c5f37eb2393d0688fefccd08b8cf220378 Mon Sep 17 00:00:00 2001 From: "emellor@ewan" Date: Tue, 20 Sep 2005 17:21:39 +0100 Subject: [PATCH] Move definition of xc variable, to save confusing pylint. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/XendProtocol.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendProtocol.py b/tools/python/xen/xend/XendProtocol.py index b74a26235f..503af1d38b 100644 --- a/tools/python/xen/xend/XendProtocol.py +++ b/tools/python/xen/xend/XendProtocol.py @@ -22,7 +22,7 @@ import types from encode import * import sxp -from xen.xend import XendRoot; xroot = XendRoot.instance() +from xen.xend import XendRoot DEBUG = 0 @@ -31,6 +31,10 @@ HTTP_CREATED = 201 HTTP_ACCEPTED = 202 HTTP_NO_CONTENT = 204 + +xroot = XendRoot.instance() + + class XendError(RuntimeError): """Error class for 'expected errors' when talking to xend. """ -- 2.30.2